#define  _CRT_SECURE_NO_WARNINGS  1
#include "Queue.h"
void Text()
{
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);

	//QueuePop(&q);
	//QueuePop(&q);
	//QueuePop(&q);
	//QueuePop(&q);

	QDataType front=QueueFront(&q);
	printf("pq->phead:%d\n", front);
	QDataType  back = QueueBack(&q);
	printf("pq->ptail:%d\n", back);
	printf("%d\n", QueueSize(&q));

	QueueDestroy(&q);

}
int main()
{
	Text();
	return 0;
}